package com.yunc.modules.shop.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

import java.io.Serializable;
import java.util.Date;

/**
 * @author tao cong cong
 * @create 2018/12/23 7:32 PM
 */
@TableName("shop_banner")
@Data
public class ShopBanner implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(type = IdType.AUTO)
    private String id;

    private String shopId;

    /**
     * 类型1=图片2=视频
     */
    private String type;

    /**
     * 范围类型，如1=首页2=商城
     */
    private String scopeType;

    /**
     * 图片or视频的链接
     */
    private String url;

    /**
     * 跳转类型1=原页面保存跳转2=删除原页面跳转
     */
    private String jumpType;

    /**
     * 跳转地址
     */
    private String jumpUrl;

    private Integer orderNum;

    private String creator;

    private Date createTime;
}
